﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL.Origins;
using Model.Origins;
using Common;
namespace BLL.Origins
{
   public class ApplyCodeBLL
    {

       ApplyCodeDAL dal = new ApplyCodeDAL();
       //获取申请单
        public List<ApplyCodeModel> Getlist(string str)
        {
          return dal.Getlist(str);
        }
        //新增一个申请
        public ResultEntity AddApply(ApplyCodeModel model)
        {
            return dal.AddApply(model);
        }
        //编辑
        public ResultEntity UpdateApply(ApplyCodeModel model)
        {
            return dal.UpdateApply(model);
        }

        public ApplyCodeModel GetModel(int Id)
        {

            return dal.GetModel(Id);
        }
        public ResultEntity UpdateStaus(int Id) {//1已提交 2 已审核
   
            return dal.UpdateStaus(Id);
        }
    }
}
